package com.weige.hotel.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.weige.hotel.pojo.Hotel;
import com.weige.hotel.pojo.PageResult;
import com.weige.hotel.pojo.RequestParams;

import java.util.List;
import java.util.Map;

public interface IHotelService extends IService<Hotel> {
    PageResult search(RequestParams param);

    Map<String, List<String>> getFilters(RequestParams param);

    List<String> getSuggestions(String prefix);

    void deleteDocById(Long id);

    void insertOrUpdate(Long id);
}
